package com.ruoyi.iot.service;


import com.ruoyi.iot.domain.CollectPoint;
import com.ruoyi.iot.domain.CollectTask;
import com.ruoyi.iot.domain.County;
import com.ruoyi.iot.domain.Province;

import java.util.List;

public interface CollectionService {
    int deleteCollection(String ID);

    boolean updateCollection(CollectPoint collectPoint);

    boolean batchDeleteCollection(String[] ids);

    List<CollectPoint> selectCondition(CollectPoint collectPoint);

    List<CollectPoint> getListGrouping(CollectPoint collectPoint);

    int deleteTask(String id);

    boolean batchDeleteTask(String[] ids);

    boolean updateTask(CollectTask collectTask);

    boolean updatetaskbyid(String taskid);

    boolean saveTask(CollectTask collectTask);

    List<CollectPoint> getListByTaskId(CollectTask collectTask);

    boolean disassociateData(CollectPoint collectPoint);

    List<CollectPoint> getListTime(CollectPoint collectPoint);

    List<CollectPoint> selectConditionAll();

    County dataMatching(String geom);

    List<CollectPoint> selectaaaaa();

    List<Province> selectGroupAll(CollectPoint collectPoint);

    boolean saveCollection(CollectPoint collectPoint);

    int insertCollectPoints(List<CollectPoint> collectPoints);

    CollectPoint selectById(String id);
}
